package com.czl.websocket.util;

import cn.hutool.core.convert.Convert;

import java.util.ArrayList;
import java.util.List;

public class Images {

    private static final   List<String> list= new ArrayList();

    static{
        list.add("http://tupian.qqjay.com/tou2/2019/0926/ce3590e1ecf06fdb4807d15c7e50e56b.jpg");
        list.add("http://tupian.qqjay.com/tou2/2019/0926/bee54e07e3d493d9cd49babd75f94c6c.jpg");
        list.add("http://tupian.qqjay.com/tou2/2019/0926/dadced66c4cb05df320b667e49b84809.jpg");
        list.add("http://tupian.qqjay.com/tou2/2019/0926/c13632f077a339f0f333da40f42220fe.jpg");
        list.add("http://tupian.qqjay.com/tou2/2019/0926/3ea15fc6ec436e1eba38304c3715b5a1.jpg");
        list.add("http://tupian.qqjay.com/tou2/2019/0926/f97712e4bf52744cc6a3df0ccf43e223.jpg");
        list.add("http://tupian.qqjay.com/tou2/2019/0926/56ff8f669da9a73d07b883c9531a0063.jpg");

        list.add("http://tupian.qqjay.com/tou2/2019/0926/674fdeda2ff2ce2d81944f2ddee570ed.jpg");
        list.add("http://tupian.qqjay.com/tou2/2019/0926/6e79cde5d15fa973100d419cd8e3d73a.jpg");
        list.add("http://tupian.qqjay.com/tou2/2019/0926/0d6e0237dacc4f035e813498b3d1fbaf.jpg");
        list.add("http://tupian.qqjay.com/tou2/2019/0926/3e120317e08c5523992e627dcfe72a51.jpg");
        list.add("http://tupian.qqjay.com/tou2/2019/0926/35c553df8227ddab83e10e1e038deca5.jpg");
        list.add("http://tupian.qqjay.com/tou2/2019/0926/e843be13a0a30143e439dc58060dcf86.jpg");
        list.add("http://tupian.qqjay.com/tou2/2019/0926/ffbb4be67989ab7aacbf0bf1090d701a.jpg");

        list.add("http://tupian.qqjay.com/u/2017/1023/4_135927_1.jpg");
        list.add("http://tupian.qqjay.com/u/2017/1023/4_135927_6.jpg");
        list.add("http://tupian.qqjay.com/u/2017/1023/4_135927_3.jpg");
        list.add("http://tupian.qqjay.com/u/2017/1023/4_135927_5.jpg");
        list.add("http://tupian.qqjay.com/u/2017/1023/4_135927_4.jpg");
        list.add("http://tupian.qqjay.com/u/2017/1023/4_135927_7.jpg");
        list.add("http://tupian.qqjay.com/u/2017/1023/4_135927_8.jpg");
        list.add("http://tupian.qqjay.com/u/2017/1023/4_135927_9.jpg");

        list.add("http://tupian.qqjay.com/u/2017/0528/4_152335_3.jpg");
        list.add("http://tupian.qqjay.com/u/2017/0528/4_152335_1.jpg");
        list.add("http://tupian.qqjay.com/u/2017/0528/4_152335_6.jpg");
        list.add("http://tupian.qqjay.com/u/2017/0528/4_152335_2.jpg");
        list.add("http://tupian.qqjay.com/u/2017/0528/4_152335_4.jpg");
        list.add("http://tupian.qqjay.com/u/2017/0528/4_152335_5.jpg");
        list.add("http://tupian.qqjay.com/u/2017/0528/4_152335_7.jpg");
        list.add("http://tupian.qqjay.com/u/2017/0528/4_152335_8.jpg");

        list.add("http://tupian.qqjay.com/u/2017/0521/3_164038_1.jpg");
        list.add("http://tupian.qqjay.com/u/2017/0521/3_164038_2.jpg");
        list.add("http://tupian.qqjay.com/u/2017/0521/3_164038_4.jpg");
        list.add("http://tupian.qqjay.com/u/2017/0521/3_164038_8.jpg");
        list.add("http://tupian.qqjay.com/u/2017/0521/3_164038_3.jpg");
        list.add("http://tupian.qqjay.com/u/2017/0521/3_164038_5.jpg");
        list.add("http://tupian.qqjay.com/u/2017/0521/3_164038_6.jpg");
        list.add("http://tupian.qqjay.com/u/2017/0521/3_164038_7.jpg");


        list.add("http://tupian.qqjay.com/u/2018/0423/2_172838_3.jpg");
        list.add("http://tupian.qqjay.com/u/2018/0423/2_172838_2.jpg");
        list.add("http://tupian.qqjay.com/u/2018/0423/2_172838_1.jpg");
        list.add("http://tupian.qqjay.com/u/2018/0423/2_172838_5.jpg");
        list.add("http://tupian.qqjay.com/u/2018/0423/2_172838_4.jpg");

        list.add("http://tupian.qqjay.com/u/2018/0423/2_172734_1.jpg");
        list.add("http://tupian.qqjay.com/u/2018/0423/2_172734_4.jpg");
        list.add("http://tupian.qqjay.com/u/2018/0423/2_172734_3.jpg");
        list.add("http://tupian.qqjay.com/u/2018/0423/2_172734_5.jpg");
        list.add("http://tupian.qqjay.com/u/2018/0423/2_172734_2.jpg");

        list.add("http://tupian.qqjay.com/u/2018/0423/1_172639_1.jpg");
        list.add("http://tupian.qqjay.com/u/2018/0423/1_172639_4.jpg");
        list.add("http://tupian.qqjay.com/u/2018/0423/1_172639_3.jpg");
        list.add("http://tupian.qqjay.com/u/2018/0423/1_172639_2.jpg");
        list.add("http://tupian.qqjay.com/u/2018/0423/1_172639_5.jpg");

        list.add("http://tupian.qqjay.com/u/2018/0423/1_171233_4.jpg");
        list.add("http://tupian.qqjay.com/u/2018/0423/1_171233_2.jpg");
        list.add("http://tupian.qqjay.com/u/2018/0423/1_171233_1.jpg");
        list.add("http://tupian.qqjay.com/u/2018/0423/1_171233_5.jpg");
        list.add("http://tupian.qqjay.com/u/2018/0423/1_171233_3.jpg");

    }

    public static String randomImg(String uid) {
        Long l = Convert.toLong(uid);
        int temp=Convert.toInt(l%list.size());
        return list.get(temp);
    }


    public static void main(String[] args) {
        for (int i = 0; i < 100; i++) {
            String s = randomImg(i + "");
            System.out.println(s);
        }
    }


}
